//
//  ONEChatUserInfo.h
//  ONEChat
//
//  Created by 楼楚 on 15/12/16.
//  Copyright © 2015年 Chu Lou. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Singleton.h"
static NSString *domain = @"127.0.0.1";


@interface ONEChatUserInfo : NSObject
singleton_interface(ONEChatUserInfo)
@property(nonatomic,copy) NSString *user;
@property(nonatomic,copy) NSString *pwd;
/*
 *登录状态
 */
@property (nonatomic,assign) BOOL loginStatus;

@property(nonatomic,copy) NSString *registerUser;
@property(nonatomic,copy) NSString *registerPwd;
@property (nonatomic,copy) NSString *jid;
/*
 从沙盒中获取用户数据
 */
-(void)loadUserInfoFromSandbox;
/*
 保存用户数据到沙盒
 */
- (void)saveUserInfoToSanbox;


@end
